package com.wind.logger.domain;

import java.util.List;

public class Category extends BaseEntity {

	private Long id;
	private Long userId;
	private String name;
	private boolean isLeaf;
	private List<Category> children;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public List<Category> getChildren() {
		return children;
	}

	public void setChildren(List<Category> children) {
		this.children = children;
	}

	public boolean isLeaf() {
		return isLeaf;
	}

	public void setLeaf(boolean isLeaf) {
		this.isLeaf = isLeaf;
	}

	public String getName() {
	    return name;
    }

	public void setName(String name) {
	    this.name = name;
    }

}
